package com.kevin.exceptions;



public class ExceptionFactory {
	private ExceptionFactory() {
	  
	}
	
	public static RuntimeException Exception(String message) {
		return new BaseException(message);
	}
	
	
	public static RuntimeException Exception(String message, Exception e) {
		return new BaseException(message, e);
	}
	
	public static RuntimeException Exception(Exception e) {
		return new BaseException(e);
	}
}